﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="V_Bestnews.ascx.cs" Inherits="UserControls_V_Bestnews" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<link rel="stylesheet" href="../CSS/sidebar.css" type="text/css" media="all" />
<body>
    <div id="v_side">
        <!--推荐新闻-->
        <ul>
            <li id="ucbestnews">
                <h2>推荐新闻┊Bestnews</h2>
                <ul>
                    <li>
                        <asp:DataList ID="DataList1" runat="server" CssClass="dtlist">
                            <ItemTemplate>
                                <img id="img" src="~/IMG/sidebar/img07.gif" runat="server" alt="" />&nbsp;&nbsp;
                                <a href='News.aspx?NewsID=<%# DataBinder.Eval(Container.DataItem, "NewsID")%>'>
                                <%# DataBinder.Eval(Container.DataItem, "Title")%></a>
                                (<%#DataBinder.Eval(Container.DataItem, "Score")%>)
                            </ItemTemplate>
                        </asp:DataList>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</body>
